package leetcode.code1020;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution1020 implements IDebug {

	public abstract int numEnclaves(int[][] grid);

	@Override
	public void debug1() {
		int[][] grid = HelpDebug.str2array1("[[0,0,0,0],[1,0,1,0],[0,1,1,0],[0,0,0,0]]");
		int r = this.numEnclaves(grid);
		int e = 3;
		HelpDebug.compare(e, r);
		HelpDebug.print(grid);
	}

	@Override
	public void debug2() {
		int[][] grid = HelpDebug.str2array1("[[0,1,1,0],[0,0,1,0],[0,0,1,0],[0,0,0,0]]");
		int r = this.numEnclaves(grid);
		int e = 0;
		HelpDebug.compare(e, r);
		HelpDebug.print(grid);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
